"use server"; import { getServicesApi } from "@/api/customservice"; import { Link } from "@/i18n/routing"; import { getTranslations } from "next-intl/server"; import Form from "../components/Form"; import GoogleCom from "../components/GoogleCom"; const Login = async () => { const t = await getTranslations("LoginPage"); const services = await getServicesApi(); console.log(`🚀🚀🚀🚀🚀-> in page.tsx on 11`, services); const defaultService = services?.filter((item) => item.register_show === 1); return ( <>
{t("childTips")}
{defaultService.map((item, index) => ( {""} ))}
); }; export default Login;